﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WinFormUIXMLParser
{
    public class XmlFormObject : XmlControlBase
    {
        //public string Load { get; set; }

        //public string Closing { get; set; }

        private string _defaultLan = "zh-CN";
        public string LanguageCode 
        {
            get
            {
                return _defaultLan;
            }
            set 
            {
                _defaultLan = value;
            }
        }

        /// <summary>
        /// 页面进入时的语音提示声文件路径
        /// </summary>
        public bool VoiceEnabled { get; set; }

        /// <summary>
        /// 页面进入时的语音提示声文件路径
        /// </summary>
        public string VoiceFileName { get; set; }

        public XmlFormObject()
            : base()
        {

        }

        public override string ToXMLString()
        {
            return "";
        }

        public override Control ToControl<T>(T parent)
        {
            return null;
        }
    }
}
